Attribute | Description | Physical Name | Domain | Data Type | Foreign Key Table |
CustomerAccountID (FK)(PK) | A unique identifier for a customer account. | ID_CTAC | Identity | integer | CustomerAccountLedger(LE_CT_ACNT_LDG) |
ReportingPeriodID (FK)(PK) | The unique system assigned identifier for a particular ReportingPeriod. | ID_PRD_RP | Identity | integer | ReportingPeriod(CA_PRD_RP) |
ReportingClassificationCode (FK)(PK) | A code used to classify the monetary values, unit counts and quantities that are accumulated in the CustomerAccountLedger and CustomerAccountJournal. The range of values varies depending on the CustomerAccountType and varieites of financial, non-finanicl unit counts and other quantities tracked by a retailer. Some samples include SALES $'s and units RETURN $;s and units TRANSACTION_COUNTs etc. It is up to each retailer to design its ledger categories for reporting and analyizing its business. | CD_RP_CLSFN | Code | varchar(20) | CustomerAccountLedger(LE_CT_ACNT_LDG) |
CustomerAccountTypeCode (FK)(PK) | Determines what kind of customer account this is. Examples include a trade account, a school account, a not-for-profit, regular customer, etc. LOYALTY - customer loyalty account for tracking points earned/redeemed REBATE -Customer reward account that pays customers based on cumulative net purchases over a deisgnated period of time TRADE - customer business credit account CONSUMER_CHG - customer individual consumer credit extended by retailer INSTALLMENT - credit account set up for one time purchase LAYAWAY - cash time payment account (not credit) RENTAL - customer rental for videos, equipment WORKORDER - account for handling services like installation and set up BACKORDER - account for handling backorder deposit and adjustments. | TY_CTAC | Code | varchar(20) | CustomerAccountLedger(LE_CT_ACNT_LDG) |
BeginningBalanceAmount | The beginning balance for a reporting period in the CustomerAccountLedgerHistory entity. This value will typically be replicated from the prior period ending balance during a reporting period control break process. | MO_BGNNNG_BLNC_AMT | Money | decimal(16,5) | |
PeriodToDateCumulativeAmount | The cumulative amount for a reporting period. When added to the beginning balance it yields the current reporting period balance and at the end of the reporting period a period end balance. | MO_PRD_TO_DT_CUM_AMT | Money | decimal(16,5) | |
CreateDate | The date this CustomerAccountLedgerHistory instance is created. | DT_CRT | AuditDateTime | datetime | |
LastUpdateDate | The date this CustomerAccountLedgerHistory instance was last updated. | DT_LS_UPDT | AuditDateTime | datetime | |
StatusCode | Designates the current state of the CustomerAccountLedger. Valid values are OPEN or CLOSED. OPEN refers to a current period that is activly being updated with summary information. CLOSED refers to an inactive period that is to be transferred to CustomerAccountLedgerHistory. Period as used here refers to the ReportingPeriod used for reporting and analytic purposes. | CD_STS | Code2Status | char(2) | |